/**
 * 
 */
package training.data;

import java.sql.Date;

/**
 * @author Taras
 * 
 */
public class User {

	private int ID;
	private int ID_Role;
	private String Fullname;
	private String Login;
	private String Password;
	private String Email;
	private Date Date_registr;
	private boolean Status;

	/**
	 * 
	 */
	public User() {
		super();
	}

	/**
	 * @param date_registr
	 * @param email
	 * @param fullname
	 * @param id
	 * @param role
	 * @param login
	 * @param password
	 * @param status
	 */
	public User(java.sql.Date date_registr, String email, String fullname, int role,
			String login, String password,  boolean status) {
		super();
		Date_registr = date_registr;
		Email = email;
		Fullname = fullname;
		ID_Role = role;
		Login = login;
		Password = password;
		Status = status;
	}

	/**
	 * @param login
	 * @param password
	 */
	public User(String login, String password) {
		super();
		Login = login;
		Password = password;
	}

	/**
	 * @return the iD
	 */
	public int getID() {
		return ID;
	}

	/**
	 * @param id
	 *            the iD to set
	 */
	public void setID(int id) {
		ID = id;
	}

	/**
	 * @return the iD_Role
	 */
	public int getID_Role() {
		return ID_Role;
	}

	/**
	 * @param role
	 *            the iD_Role to set
	 */
	public void setID_Role(int role) {
		ID_Role = role;
	}

	/**
	 * @return the fullname
	 */
	public String getFullname() {
		return Fullname;
	}

	/**
	 * @param fullname
	 *            the fullname to set
	 */
	public void setFullname(String fullname) {
		Fullname = fullname;
	}

	/**
	 * @return the login
	 */
	public String getLogin() {
		return Login;
	}

	/**
	 * @param login
	 *            the login to set
	 */
	public void setLogin(String login) {
		Login = login;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return Password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		Password = password;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return Email;
	}

	/**
	 * @param email
	 *            the email to set
	 */
	public void setEmail(String email) {
		Email = email;
	}

	/**
	 * @return the date_registr
	 */
	public Date getDate_registr() {
		return Date_registr;
	}

	/**
	 * @param date_registr
	 *            the date_registr to set
	 */
	public void setDate_registr(Date date_registr) {
		Date_registr = date_registr;
	}

	/**
	 * @return the status
	 */
	public boolean isStatus() {
		return Status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(boolean status) {
		Status = status;
	}

}
